home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / sr / info.lha / info-sr.1992 / 000005_gmt _Mon Apr 13 08:11:33 1992.msg < prev    next >
Text File  |  1993-07-24  |  1KB  |  26 lines

  1. Received: from owl.cs.arizona.edu by optima.cs.arizona.edu (4.1/15)
  2.     id AA27368; Mon, 13 Apr 92 08:11:33 MST
  3. Date: Mon, 13 Apr 92 08:11:31 MST
  4. From: "Gregg Townsend" <gmt>
  5. Message-Id: <9204131511.AA22361@owl.cs.arizona.edu>
  6. Received: by owl.cs.arizona.edu; Mon, 13 Apr 92 08:11:31 MST
  7. To: info-sr@cs.arizona.edu, shartley@king.mcs.drexel.edu
  8. Subject: Re:  a little puzzling
  9.  
  10. Resource creation completes when the new resource exits its initialization
  11. code; in version 2 this is the top-level body code.
  12.  
  13. With the "process...end" bracketing, the "do true" loop is spun off as a
  14. separate process, the body code falls off the end, and the creator proceeds
  15. to its next iteration.
  16.  
  17. Without the bracketing, process creation never completes because the new
  18. helper resource is still initializing in an infinite loop.  The user
  19. resource remains blocked on the creation of the first resource and so it
  20. never creates another.
  21.  
  22. Another way to make this work is to add a "reply" in helper before entering
  23. the loop.
  24.  
  25.     Gregg Townsend / Computer Science Dept / Univ of Arizona / Tucson, AZ 85721
  26.     +1 602 621 4325     gmt@cs.arizona.edu     110 57 16 W / 32 13 45 N / +758m